import request from '@/utils/request'

// 查询职称申请列表
export function listAssess(query) {
  return request({
    url: '/system/assess/list',
    method: 'get',
    params: query
  })
}

// 查询职称申请详细
export function getAssess(id) {
  return request({
    url: '/system/assess/' + id,
    method: 'get'
  })
}

// 新增职称申请
export function addAssess(data) {
  return request({
    url: '/system/assess',
    method: 'post',
    data: data
  })
}

// 修改职称申请
export function updateAssess(data) {
  return request({
    url: '/system/assess',
    method: 'put',
    data: data
  })
}

// 删除职称申请
export function delAssess(id) {
  return request({
    url: '/system/assess/' + id,
    method: 'delete'
  })
}
